package com.spdg.ring.bo;

import android.app.Activity;
import cn.wolf.base.BaseBo;
import cn.wolf.http.HttpCallBack;

import com.spdg.ring.resp.VersionResp;
import com.spdg.ring.task.CheckVersionTask;
/**
 * <p>Title: 检测版本更新逻辑类     </p>
 * <p>Description: 
 * </p>
 * <p>@author: Eric.wsd                </p>
 * <p>Copyright: Copyright (c) 2012    </p>
 * <p>Company: HX Co., Ltd.          </p>
 * <p>Create Time: 2012-11-15             </p>
 * <p>Update Time:                     </p>
 * <p>Updater:                         </p>
 * <p>Update Comments:                 </p>
 */
public class CheckVersionBo extends BaseBo {
	private HttpCallBack<VersionResp> icall;
	
	public static final String VERSION_UPDATE = "1";	//版本升级

	public CheckVersionBo(Activity activity, HttpCallBack<VersionResp> icall) {
		super(activity);
		this.icall = icall;
	}
	
	public void checkVersion() {
		CheckVersionTask task = new CheckVersionTask(icall, mActivity);
		task.execute();
	}

}
